package com.bhp.bencaoguoyi.article.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName Column
 * @Description 专栏
 * @Author 包海鹏
 * @Date 2020/6/18 12:32
 * @Version 1.0
 **/
@TableName("t_column")
@Data
public class Column {

    /**
     * 专栏ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 专栏名称
     */
    @TableField("name")
    private String name;

    /**
     * 专栏简介
     */
    @TableField("summary")
    private String summary;

    /**
     * 用户ID
     */
    @TableField("userid")
    private String userId;

    /**
     * 申请日期
     */
    @TableField("createtime")
    private Date createTime;

    /**
     * 审核日期
     */
    @TableField("checktime")
    private Date checkTime;

    /**
     * 状态
     */
    @TableField("state")
    private Integer state;
}
